package model

type SysVersion struct {
    Id        int    `json:"id" gorm:"primary_key;autoIncrement:true"`
    Key string `json:"key" gorm:"column:key;comment:Key;type:varchar(128);size:128;"`
    Params string `json:"params" gorm:"column:params;type:varchar(256);size:256;"`
    ParamsInt int `json:"paramsInt" gorm:"column:params_int;type:int(10);size:10;"`
}

func (SysVersion) TableName() string {
    return "sys_version"
}

type VersionResp struct {
    Version int `json:"version"`
    Url string `json:"url"`
}
